package com.example.java8.optional;

import java.util.Optional;

/**
 * TODO
 *
 * @author qibao
 * @version v0.1 2020/12/17
 */
public class Man {
    private Optional<Goldness> goldness;
    private String name;

    public Optional<Goldness> getGoldness() {
        return goldness;
    }

    public void setGoldness(Optional<Goldness> goldness) {
        this.goldness = goldness;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
